package com.fzhucc.modules.subject.domain.dto;

import com.fzhucc.base.BaseDTO;
import com.fzhucc.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;


/**
 * @website https://fzhucc.com
 * @description /
 * @author yyg
 * @since 2022-09-26 00:00:00
 */
@Data
public class SubjectHighfieldsType2CreateDto extends BaseDTO {
    @ApiModelProperty(value = "id")
    @NotNull(groups = {BaseEntity.Update.class})
    private Integer id;
    @ApiModelProperty(value = "highfields2")
    @NotBlank
    private String highfields2;
    @ApiModelProperty(value = "name")
    @NotBlank
    private String name;
    @ApiModelProperty(value = "highfields1")
    @NotBlank
    private String highfields1;

    @ApiModelProperty(value = "sort")
    private Integer sort;
}